import Vue from 'vue'
import App from './App.vue'
import router from './router'
import './plugins/element.js'
import './assets/css/global.css'
// 引入echarts
import * as echarts from 'echarts'

// 设置全局变量
Vue.prototype.$echarts = echarts
Vue.config.productionTip = false

import axios from 'axios'
axios.defaults.baseURL = 'http://localhost:8080/'
//axios.defaults.baseURL = '/backend/'
Vue.prototype.$http = axios

new Vue({
  router,
  render: h => h(App)
}).$mount('#app')
